Skip to content

No Clone Method fixes. #6571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 8, 2025
Merged

No Clone Method fixes. #6571

merged 3 commits into from
Apr 8, 2025

Conversation

rjhancock
Copy link
Collaborator

@rjhancock rjhancock commented Apr 6, 2025

This fixes the "No Clone Methods" listed under the CodeQL security tabs on MegaMek and is related to the 2 inner classes to be outer classes due to being used outside of the parent classes.

General IDEA Clean up as well.

Requires MegaMek#6836 before merging.

Copy link

codecov bot commented Apr 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.58%. Comparing base (1c9ea2d) to head (6c99899).
Report is 38 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6571      +/-   ##
============================================
+ Coverage     11.43%   11.58%   +0.14%     
+ Complexity     6455     6402      -53     
============================================
  Files          1087     1085       -2     
  Lines        139329   139604     +275     
  Branches      21542    21531      -11     
============================================
+ Hits          15935    16170     +235     
- Misses       121802   121861      +59     
+ Partials       1592     1573      -19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rjhancock rjhancock merged commit 221edf6 into MegaMek:master Apr 8, 2025
6 checks passed
@rjhancock rjhancock deleted the no-clone-method branch April 8, 2025 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant